package com.行为模型.命令模式.原理;

/**具体命令
 * @author chenhs
 * @date 2020/11/8
 */
public class OrderImpl2 implements  IOrder {
	@Override
	public void speak() {
		System.out.println("命令二被调用");
		Carry2 carry2 = new Carry2();
		carry2.carry();
	}
}
